<script setup lang="ts"></script>

<template id="noAuthPage">
  <div class="no-auth-page">
    <h1 class="no-auth-title">权限不足</h1>
    <p class="no-auth-message">很抱歉，您没有访问此页面的权限。</p>
    <a-button type="primary" @click="$router.push('/')">返回首页</a-button>
  </div>
</template>

<style scoped>
.no-auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f5f5f5;
}

.no-auth-title {
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
}

.no-auth-message {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.no-auth-link {
  font-size: 16px;
  color: #007BFF;
  text-decoration: none;
}

.no-auth-link:hover {
  text-decoration: underline;
}
</style>
